package com.demo.fullink.service;

import com.demo.fulllink.module.vo.ResponseVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.io.Serializable;

@FeignClient(name = "account-service", path = "/accountapi")
public interface AccountService {
    
    @RequestMapping("/checkAccount/{accountId}")
    public ResponseVO checkAccount(@PathVariable("accountId") Serializable accountId);
}
